<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>小区设置信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewCommunitySettingInfo.index != 2" class="btn btn-primary btn-sm"
                            style="margin-right:10px;" v-on:click="_openSelectCommunitySettingInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择小区设置
                    </button>

                    <button type="button" v-if="viewCommunitySettingInfo.index != 2" class="btn btn-primary btn-sm"
                            v-on:click="_openAddCommunitySettingInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加小区设置
                    </button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">配置类型：</label>
                            <label class="">{{viewCommunitySettingInfo.settingType}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">配置名称：</label>
                            <label class="">{{viewCommunitySettingInfo.settingName}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">配置KEY：</label>
                            <label class="">{{viewCommunitySettingInfo.settingKey}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">配置取值：</label>
                            <label class="">{{viewCommunitySettingInfo.settingValue}}</label>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label">备注：</label>
                            <label class="">{{viewCommunitySettingInfo.remark}}</label>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <vc:create path="property/addCommunitySetting"
               callBackListener="viewCommunitySettingInfo"
               callBackFunction="chooseCommunitySetting"
    ></vc:create>


    <vc:create path="property/chooseCommunitySetting"
               emitChooseCommunitySetting="viewCommunitySettingInfo"
               emitLoadData="viewCommunitySettingInfo"
    ></vc:create>
</div>
